<!DOCTYPE html>
<html>
 <head> 
  <meta charset="utf-8" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
  <title>饿了么收银台</title> 
  <link href="/elm_home/zhifu/app.96caca.css" rel="stylesheet" /> 
  <script src="/elm_home/zhifu/ubt.min.js" type="text/javascript"></script> 
  <script src="/elm_home/zhifu/perf.min.js" type="text/javascript"></script> 
 </head> 
 <body> 

  <header id="header"> 
   <i class="eleme-icon"><h1 class="title">饿了么收银台</h1></i> 
  </header> 
  <main id="main">
   <main data-reactid=".0">

   <form action="/order" method="post">

   {{ csrf_field() }}
    <section class="container order" data-reactid=".0.0">
     <h3 class="text-muted" data-reactid=".0.0.0">订单详情</h3>
     <div class="order-detail clearfix" data-reactid=".0.0.1">
      @foreach($cart as $cart)
      <div class="pull-left" data-reactid=".0.0.1.0">
       <p class="text-muted" data-reactid=".0.0.1.0.0"></p>
       <p class="hidden" data-reactid=".0.0.1.0.1"><span class="text-muted text-ellipsis order-desc" data-reactid=".0.0.1.0.1.0">胡啊 先生 133****3333 建外SOHO-东区3号楼2单元101 - 香汁排骨饭汤套餐 x1 </span><a class="text-primary show-detail text-link" data-reactid=".0.0.1.0.1.1"><span data-reactid=".0.0.1.0.1.1.0">查看详情</span><span class="triangle triangle-down" data-reactid=".0.0.1.0.1.1.1"></span></a></p>
       <div class="order-detail text-muted" data-reactid=".0.0.1.0.2">
        <!-- <p data-reactid=".0.0.1.0.2.0" > {{$user['phone']}} - {{$cart->name}} x{{$count}} </p> -->
        <input type="hidden" name="uid" value="{{session('homeInfo')->id}}">
        <input type="hidden" name = "mid" value="{{$cart->options->mid}}">
       

        商品名称: <input type="text" name="spname" value="{{$cart->name}}"><br>

        订单数量: <input type="text" name="spnum" value="{{$count}}"><br>

        支付金额: <input type="text" name="spsub" value="{{$sub}}">
 
       </div>
       @endforeach
      </div>
      <!-- <p class="pull-right" data-reactid=".0.0.1.1"><span data-reactid=".0.0.1.1.0"><span data-reactid=".0.0.1.1.0.0">支付金额：</span><strong class="text-lg text-highlight" data-reactid=".0.0.1.1.0.1"><span data-reactid=".0.0.1.1.0.1.0">&yen;</span><span data-reactid=".0.0.1.1.0.1.1">{{$sub}}</span></strong></span></p> -->
     </div>
    </section>

     <section class="container order" data-reactid=".0.0">
     <h3 class="text-muted" data-reactid=".0.0.0">填写订单地址</h3>
     <div class="order-detail clearfix" data-reactid=".0.0.1">
     
      <div class="pull-left" data-reactid=".0.0.1.0">
       <p class="text-muted" data-reactid=".0.0.1.0.0"></p>
        <!--  省:<input type="text" name="sheng">
         市:<input type="text" name="shi">
         区:<input type="text" name="qu">
         街道:<input type="text" name="jiedao"> -->
         <textarea name="address" id="" cols="30" rows="10"></textarea>
      </div>
      
     </div>
    </section>
    <section class="container paymethods" data-reactid=".0.1"> 
      <button type="submit" class="btn btn-success btn-lg" data-reactid=".0.1.3.4">确认支付</button>
     </form>
     <a href="/addCartList/{{$cart->rowId}}"><button type="button" class="btn btn-success btn-lg" data-reactid=".0.1.3.4">清空购物车</button></a>
    </section>
    <section class="messagebox-backdrop" style="display:none;" data-reactid=".0.2">
     <div class="messagebox " data-reactid=".0.2.0"></div>
    </section>
   </main>
  </main> 
  <script src="/elm_home/zhifu/vendor.c9a4e0.js" type="text/javascript"></script> 
  <script src="/elm_home/zhifu/app.4b3139.js" type="text/javascript"></script>  
 </body>
</html>